Custom Multiline Text Widget
class CustomMultilineTextWidget @JvmOverloads constructor(message: Text, lineHeight: Int = 9, topPadding: Int = 0, bottomPadding: Int = topPadding, leftPadding: Int = 0, rightPadding: Int = 0) : AbstractTextWidget
Multiline text widget that aligns its text to the left and has a resizable width.
Author
fzzyhmstrs
Since
0.6.0, left and right padding 0.6.5
Parameters
message
Text the text to split and display
line Height
space between lines, default 9 (MC standard)
top Padding
pixels of padding above the text. Will add to the widget's height.
bottom Padding
pixels of padding below the text. Will add to the widget's height.
left Padding
pixels of padding on the left side of the text.
right Padding
pixels of padding on the right side of the text.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard